import Vue from 'vue';
import VueI18n from 'vue-i18n';
import Chinesefont from './language/Chinese.character'
import English from './language/English'
Vue.use(VueI18n)
const i18n = new VueI18n({
  silentTranslationWarn: true,
    locale: sessionStorage.getItem('boslanguage')||'zh-TW',
    messages: {
        'zh-TW': Chinesefont,
        'en': English
    }
});
export default i18n